package main

import (
	"fmt"
	"time"
)

func main() {
	channel := make(chan int, 1)
	channel <- 10
	go func() {
		fmt.Println(<-channel)
	}()
	time.Sleep(time.Second)
}
